package org.example.DesignPatterns.Interpreter;

/**
 * @description:鼠标移动终极表达式
 * @author: farprt
 * @create: 2022-09-25 13:46
 **/
public class Move implements Expression{

    private int x,y;

    public Move(int x,int y){
        this.x=x;
        this.y=y;
    }

    @Override
    public void interpret() {
        System.out.println("移动鼠标：【"+x+","+y+"】");
    }
}